//
//  HeadView.h
//  苏宁
//
//  Created by mini on 15/7/14.
//  Copyright (c) 2015年 mini. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HeadModel.h"

@protocol NearbyDelegate <NSObject>
-(void)nearbyPush;
-(void)moneyPush;
-(void)morePush;
-(void)saoma;
-(void)luyin;
-(void)yunzuanPush;
-(void)pushFenlei;
@end
@interface HeadView : UIView<UICollectionViewDataSource,UICollectionViewDelegate,UITextFieldDelegate>
//collectionView
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
//白色
@property (weak, nonatomic) IBOutlet UIView *whiteView;
//text属性
@property (weak, nonatomic) IBOutlet UITextField *textView;
//扫一扫事件
- (IBAction)saosao;
//分类事件
- (IBAction)fenlei;
//身边苏宁事件
- (IBAction)content;
//钱包事件
- (IBAction)money;
//会员事件
- (IBAction)Vip;
//更多事件
- (IBAction)more;

@property(nonatomic,strong)NSArray *total;
//计时器
@property(nonatomic,strong)NSTimer *timer;

//代理
@property(nonatomic,weak)id<NearbyDelegate>delegate;
@end
